home *** CD-ROM | disk | FTP | other *** search
/ Total Network Tools 2002 / NextStepPublishing-TotalNetworkTools2002-Win95.iso / Archive / FTP Server / WFTPD Pro.exe / WFTPDPRO.INF < prev    next >
Encoding:
Windows Setup INFormation  |  2000-09-19  |  8.4 KB  |  303 lines

  1. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2. ;
  3. ;  Version identifies stlye (WIN4) and class
  4. ;  Class is usually used to get all infs for a
  5. ;  product or driver type if an exe it giving
  6. ;  users a list of things to install, for example 
  7. ;  all video drivers infs in the windows\inf directory
  8. ;
  9. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  10.  
  11. [version]
  12. signature="$CHICAGO$"
  13.  
  14. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  15. ;
  16. ;  Install sections, these are the options
  17. ;  for building the installation file lists
  18. ;
  19. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  20.  
  21. [DefaultInstall]
  22. ; we are leave this blank so that a right mouse click
  23. ; install does do anything
  24. ; we are chosing to do this because we want our install to
  25. ; give the user a choice of where to install to
  26. ; For drivers or other installations where the files must go
  27. ; to a predetermined location (like windows\system) this section
  28. ; can be used
  29.  
  30. [WFTPDInstall]
  31. CopyFiles=WFTPD.copy.files
  32. AddReg=WFTPD.Add.Reg
  33. UpdateInis=WFTPD.links
  34.  
  35. [WFTPDInstall.Services]
  36. AddService="WFTPD Pro", , WFTPDSrvInst, WFTPDSrvInstLog
  37.  
  38. [WFTPDSrvInst]
  39. DisplayName="WFTPD Pro"
  40. ServiceType=0x10 ; SERVICE_WIN32_OWN_PROCESS
  41. StartType=0x2 ; AutoStart
  42. ErrorControl=0x1 ; NORMAL
  43. ServiceBinary=%65600%\WFTPD.EXE
  44.  
  45. [WFTPDSrvInstLog]
  46. AddReg=WFTPDSrvInstLogReg
  47.  
  48. [WFTPDSrvInstLogReg]
  49. HKLM,"%EVENTLOG_KEY%",EventMessageFile,0x00020000,"%%SystemRoot%%\System32\IoLogMsg.dll\;%65600%\WFTPD.EXE"
  50. HKLM,"%EVENTLOG_KEY%",TypesSupported,0x00010001,7
  51.  
  52. [OptionBSection]
  53. CopyFiles=WFTPD.copy.filesB
  54.  
  55. [OptionCSection]
  56. CopyFiles=WFTPD.filesC
  57.  
  58. [OptionDSection]
  59. CopyFiles=WFTPD.filesD
  60.  
  61. ;;;;;;;;;;
  62. ; Uninstall
  63.  
  64. [DefaultUninstall]
  65. ; be sure to remove everything
  66. DelFiles=WFTPD.del.files,
  67. DelFiles=WFTPD.del.filesB,WFTPD.filesC,WFTPD.filesD
  68. DelReg=WFTPD.Del.Reg
  69. UpdateInis=del.links
  70.  
  71. [DefaultUninstall.Services]
  72. DelService=WFTPD Pro
  73.  
  74. [WFTPDUninstall]
  75. ; be sure to remove everything
  76. DelFiles=WFTPD.copy.files
  77. DelFiles=WFTPD.copy.filesB,WFTPD.filesC,WFTPD.filesD
  78. DelReg=WFTPD.Del.Reg
  79. UpdateInis=del.links
  80.  
  81. [WFTPDUninstall.Services]
  82. DelService=WFTPD Pro
  83. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  84. ;
  85. ;  Registry sections, used by different install
  86. ;  sections above
  87. ;
  88. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  89.  
  90. [WFTPD.Add.Reg]
  91. ;
  92. ; Product Registry entries here
  93. ; For compatibility you must specify 0,1,2,3 for the fourth
  94. ; parameter if you want to specify a value
  95. ;
  96. HKLM,%REG_ROOT%,"Version",0,"%VERSION%"
  97. ;
  98. ; Register shared components, note these are bogus names in this sample
  99. ;
  100. ;HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\SharedDLLs,%11%\myprodsys.dll,1,01,00,00,00
  101. ;HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\SharedDLLs,%65600%\myproduct.dll,1,01,00,00,00
  102. ;
  103. ; for add/remove programs applet
  104. ;
  105. HKLM,%REG_UNINS%,"DisplayName",0,"WFTPD Pro %VERSION%"
  106. HKLM,%REG_UNINS%,"UninstallString",0,"Rundll32.exe setupapi.dll,InstallHinfSection DefaultUninstall 132 %65600%\wftpdpro.inf"
  107.  
  108. ;;;;;;;;;
  109. ;
  110. ; registry delete works by pruning the tree,
  111. ; so if you have interdependent values, put thems in subkeys and
  112. ; not in values of the main key since when you prune all the values are lost
  113. ;
  114.  
  115. [WFTPD.Del.Reg]
  116. ;
  117. ;Registry entries here
  118. ;
  119.  
  120. HKLM,SOFTWARE\Texas Imperial Software\WFTPDPro,"Version",,
  121. HKLM,SOFTWARE\Texas Imperial Software\WFTPDPro,,,
  122.  
  123. ;
  124. ; for add/remove programs applet
  125. ;
  126.  
  127. HKLM,%REG_UNINS%,"DisplayName",,
  128. HKLM,%REG_UNINS%,"UninstallString",,
  129. HKCU,%REG_UNINS%,,,
  130.  
  131. ; Service stuff.
  132. HKLM,"%EVENTLOG_KEY%",EventMessageFile,,
  133. HKLM,"%EVENTLOG_KEY%",TypesSupported,,
  134.  
  135. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  136. ;
  137. ; Disk lay out information, used by the CopyFiles lists
  138. ;
  139. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  140. ;
  141. ; This is the source disk identifiers the number at the
  142. ; beginning maps to the SourceDisksFiles first parameter
  143.  
  144. [SourceDisksNames]
  145. 1="WFTPD Pro Installation Disk","",
  146.  
  147. ;;;;;;;;;;;;;;;;;;
  148. ;
  149. ; SourceDisksFiles -
  150. ; this must have ALL file names in any copyfiles section
  151. ; so that the default copyfile error callback dialog (browse,skip)
  152. ; can use the SourceDisksNames strings above to help find the file
  153. ; -- this infomation can also be put in a layout.inf
  154. ;
  155. ; filename_on_source = diskid,subdir,size,checksum,spare,spare
  156.  
  157. [SourceDisksFiles]
  158. WFTPD.EXE = 1,,
  159. README.TXT = 1,,
  160. WFTPDPRO.INF = 1,,
  161. INSTALL.TXT = 1,,
  162. WHATSNEW.TXT = 1,,
  163.  
  164. INI2REG.EXE = 1,,
  165. INI2REG.HLP = 1,,
  166.  
  167. WFTPD.CPL = 1,,
  168.  
  169. WFTPD.CNT = 1,,
  170. WFTPD.HLP = 1,,
  171.  
  172. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  173. ;
  174. ; Targetdirectories predefined for [DestinationDirs] section
  175. ;   parameter number one  
  176. ;     00 = null, use only the second parameter for a path
  177. ;     11 = windows system directory
  178. ;     ...
  179. ;
  180.  
  181. [DestinationDirs]
  182. ;
  183. ; a default if a particular copyfiles section
  184. ;
  185. ; DefaultDestDir=LDID[,subdir]  ; not used in this sample
  186.  
  187. WFTPD.del.files=01      ; 01 is the source directory
  188. WFTPD.del.filesB=01 
  189.  
  190. ;
  191. ; Run time defined strings, these are set with 
  192. ; SetupSetDirectoryId once this inf is openned
  193. ;
  194.  
  195. WFTPD.copy.files=65600   ; 65600 is a random choice for a dirid
  196. WFTPD.copy.filesB=65600  ; note this must be set by a calling
  197.                          ; application and must be > 65536
  198. WFTPD.filesC=11  
  199. WFTPD.filesD=11
  200.  
  201. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  202. ;
  203. ; These are the CopyFiles lists, here is where the files
  204. ; for each component are defined
  205. ; Note the last param (parm 4) is the CopyFlag for that
  206. ; File, for example 8 means copy on  restart--see the doc for more
  207. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  208. [WFTPD.copy.files]
  209. WFTPD.EXE,,,0x10000
  210. README.TXT,,,0x10000
  211. WFTPDPRO.INF,,,0x10000
  212. INSTALL.TXT ,,,0x10000
  213. WHATSNEW.TXT ,,,0x10000
  214.  
  215. [WFTPD.copy.filesB]
  216. INI2REG.EXE,,,0x10000
  217. INI2REG.HLP,,,0x10000
  218.  
  219. [WFTPD.del.files]
  220. WFTPD.EXE,,,0x10000
  221. README.TXT,,,0x10000
  222. WFTPDPRO.INF,,,0x10000
  223. INSTALL.TXT ,,,0x10000
  224. WHATSNEW.TXT ,,,0x10000
  225.  
  226. [WFTPD.del.filesB]
  227. INI2REG.EXE,,,0x10000
  228. INI2REG.HLP,,,0x10000
  229.  
  230. [WFTPD.filesC]
  231. WFTPD.CPL,,,0x10000
  232.  
  233. [WFTPD.filesD]
  234. WFTPD.CNT,,,0x10000
  235. WFTPD.HLP,,,0x10000
  236.  
  237. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  238. ;
  239. ; INI sections, used to create and delete icons 
  240. ;  other uses are possible
  241. ;
  242. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  243. [WFTPD.links]
  244. ;create folders
  245. setup.ini, progman.groups,,"WFTPDGroup=WFTPD Pro"     
  246. ; create links
  247. ; second param must match above and the linked to file must really exist
  248. setup.ini, WFTPDGroup,,"%PRODUCT_DESC%,%11%\WFTPD.cpl,,,"
  249. setup.ini, WFTPDGroup,,"%README_DESC%,%65600%\readme.txt,,," 
  250. ;Add desktop icons here
  251.  
  252. [del.links]
  253. ;remove folders
  254. setup.ini, progman.groups,,"WFTPDGroup=WFTPD Pro"     
  255. ; remove links
  256. ; second param must match above and last param is EXACT description name
  257. setup.ini, WFTPDGroup,,"%PRODUCT_DESC%" 
  258. setup.ini, WFTPDGroup,,"%README_DESC%" 
  259. ;remove desktop icons here
  260.  
  261. [del.links.old]
  262. ;setup.ini, progman.groups,,"WFTPDFolderOld=%DESC_OLD%"
  263. ;setup.ini, WFTPDFolderOld,, """%README_DESC%"""
  264.  
  265. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  266. ;
  267. ; Strings replace variable in percents above
  268. ;
  269. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  270. [Strings]
  271. PRODUCT_DESC    = "WFTPD Pro"
  272. README_DESC = "WFTPD Pro Readme"
  273. VERSION = "2.41 RC14 [30-day trial]"
  274. EVENTLOG_KEY = "SYSTEM\CurrentControlSet\Services\EventLog\Application\WFTPD Pro"
  275. REG_ROOT = "SOFTWARE\Texas Imperial Software\WFTPDPro"
  276. REG_UNINS = "SoftWare\Microsoft\Windows\CurrentVersion\Uninstall\WFTPD Pro"
  277.  
  278. ;
  279. ; Optional Components are not demonstrated in this samples
  280. ;
  281. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  282. ;
  283. ;  Optional Install sections, these are the options
  284. ;  for building the installation file lists for optional
  285. ;  components.  This is used for example with "Have Disk"
  286. ;  on the windows setup add/remove programs applet
  287. ;
  288. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  289. ;[Option Components]
  290. ;OptionalInstall
  291. ;
  292. ;[OptionalInstall]
  293. ;CopyFiles=WFTPD.optional.copy.files
  294. ;OptionDesc="Optional WFTPD components"
  295. ;Tip="Install these optionally"
  296. ;InstallDefault=0 ; 1 if this section should be installed by default
  297. ;IconIndex=11      ; Icon to display, see doc for choices, 11 is the default
  298. ;;Parent=install-section
  299. ;Needs=DefaultInstallation ; dependency the user is warned about
  300. ;Include=additional.inf    ; inf automatically included
  301.  
  302.